#@layoutT('微信关注用户')
#define main()
   #@formStart()
      #@queryStart('关键词查询')
   <input type="search" name="searchName" autocomplete="off" class="layui-input" placeholder="搜索关键词" style="padding-left:20px"/>
   <i class="layui-icon layui-icon-search" style="position: absolute;top:12px;left:2px"></i>
      #@queryEnd()
   #@formEnd()

   #@table()
#end

#define js()
<!-- 分页表格 -->
<script>
    gridArgs.title='微信关注用户';
    gridArgs.dataId='id';
    gridArgs.deleteUrl='#(path)/portal/qrcode/weixinUser/delete';
    gridArgs.updateUrl='#(path)/portal/qrcode/weixinUser/edit/';
    gridArgs.addUrl='#(path)/portal/qrcode/weixinUser/add';
    gridArgs.gridDivId ='maingrid';
    initGrid({id : 'maingrid'
        ,elem : '#maingrid'
        ,cellMinWidth: 80
        ,cols : [ [
            {title: '主键',field : 'id',width : 35,checkbox : true},
            {title:'序号',type:'numbers',width:35},
				 {title:'国家',field:'country'},
				 {title:'城市',field:'city'},
				 {title:'openId',field:'openid'},
				 {title:'性别',field:'sex'},
				 {title:'省份',field:'province'},
				 {title:'关注时间',field:'subscribe_time'},
				 {title:'备注',field:'remark'},
				 {title:'昵称',field:'nickname'},
				 {title:'头像地址',field:'headimgurl'},
				 {title:'二维码扫描参数',field:'qr_scene_str'},
				 {title:'微信公众号',field:'wechatid'},

            {fixed:'right',width : 180,align : 'left',toolbar : '#bar_maingrid'}
            ] ]
        ,url:"#(path)/portal/qrcode/weixinUser/list"
        ,searchForm : 'searchForm'
    });

</script>

#end